#include "smTexture.h"

namespace ShaderManager
{

smTexture::smTexture(GLuint texture_unit)
: texture_unit(texture_unit)
{
	glGenTextures(1,&id);
}

void smTexture::active()
{
	glActiveTexture(texture_unit);
}

void smTexture::bind()
{
	glBindTexture(GL_TEXTURE_3D,id);
}

}